package com.tc.factory;

import com.tc.dto.Result;


public interface ResultFactory {
    //响应成功,不带数据
    Result success();
    //响应成功,携带数据
    Result success(Object data);
    //响应失败
    Result error(String msg);
}
